﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BioModel;
using System.ServiceModel;

namespace BioDAL
{
    [ServiceContract]
    public interface ISalDAL
    {
        void OpenConnection(string connectionString);
        void CloseConnection();

        int InsertSal(int antalPladser, bool er3D);
        void EditSal(int salNr, bool er3D);
        List<Sal> AlleSal();
        List<Sal> Alle3DSal(bool status);
        Sal GetEnSal(int salNr);
        void SletEnSal(int salId);
    }
}
